<!doctype html>
<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>{$site_title}</title>
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="stylesheet" type="text/css" href="http://apps.bdimg.com/libs/blendui/2.0.0/boost.min.css" />
  <link rel="stylesheet" type="text/css" href="{$resource_basic}/css/webapp.css" />
  <script type="text/javascript" src="{$resource_basic}/js/jquery.min.js"></script>
  <script type="text/javascript" src="http://apps.bdimg.com/libs/blendui/2.0.0/boost.min.js"></script>
  <script type="text/javascript">
    window.boost = $.noConflict(true);
    </script>
  <style>
      .blend-panel{background-color: #fff;}
      .blend-card-content-view{
          max-height: 80px;
      }
      .blend-button-primary{
          background-color: #03ab9e;
          border-color: #03ab9e;
      }
      .blend-button-primary:active{
          background-color: #03ab9e;
          border-color: #03ab9e;
      }
      .blend-button-primary:focus{
          background-color: #03ab9e;
          border-color: #03ab9e;
      }
      
      .blend-button-primary:visited{
          background-color: #03ab9e;
          border-color: #03ab9e;
      }
  </style>
</head>

<body>
    <header data-blend-widget="header" class="blend-header header_title_bg">
        <span class="blend-header-left">
            <a class="blend-header-item  blend-button" href="{:U('M/Member/index')}"><img src="{$resource_basic}/img/btn_back.png" style="height:28px;"/></a>
        </span>
        <span class="blend-header-title">
            <a class="blend-header-item">参与的项目</a>
        </span>
        <span class="blend-header-right">
        </span>
    </header>
    
    <!--最新检测结果列表-->
    <empty name='list'>
        <div class="blend-panel">

            <div class="blend-panel-body blend-panel-center">
                你还没有发起项目
                <br/>
                <a href="{:U('M/Founding/publish_new',array('from'=>2,'isnew'=>1))}" class="blend-button blend-button-primary blend-button-small">马上发起</a>


            </div>
        </div>
        <else/>

        <volist name="list" id="vo">
            <a  href="{:U('M/Founding/detail_new',array('fdid'=>$vo['id'],'from_channel'=>1,'specialid'=>$specialid))}">
                    <div class="blend-card blend-card-no-icon" style="height:100px;">
                        <div class="blend-card-img-view" style="width:20%; float: left;">
                            <img src="{$site_url}{$vo.thumb}">
                        </div>
                        <div class="blend-card-content-view" style="width:75%;float: right;">
                            <div class="blend-card-title">
                               {$vo.pjname}
                            </div>
                            <if condition='$vo.isshow_batch eq 1'>
                            <div class="blend-card-sub-title">生产日期/批号:{$vo.batch}</div>
                            </if>
                            <if condition="$vo.state eq 1">
                                <!--众筹中的-->
                                <div class="blend-card-sub-title" >检测内容: {$vo.packagename}</div>
                                <elseif condition="$vo.state eq 2"/>
                                <!--抽检中的-->
                                <div class="blend-card-sub-title" >检测内容: {$vo.packagename}</div>
                                <else/>
                                <!--完成的-->
                                <if condition='$vo.qualified eq 0'>
                                <div class="blend-card-sub-title" style=" color:red;">{$vo.testing_result}</div>
                                </if>
                                <if condition='$vo.qualified eq 2'>
                                <div class="blend-card-sub-title" style=" color:red;">{$vo.testing_result}</div>
                                </if>
                            </if>
                            
                               
                        </div>
                        <div class="blend-card-img-view" style=" float: right;  position: absolute; right: 10px;">
                                <img src="{$resource_basic}{$vo.show_mark_icon}">
                                <if condition="($vo.state eq 1) OR ($vo.state eq 0)">
                                    <div style="  float: right;position: relative;top: -74%;font-size: 1.3rem;right: 26%;color:#03ab9e; text-align: center; width: 30px;">{$vo.rate}%</div>
                                </if>
                        </div>
                    </div>
                </a>
        </volist>
    </empty>
    <!--最新检测结果end-->
    
    
    
    
    <div style="height: 50px;"></div>

<include file="Index/wx_share_clip"/> 
<script>
$(function(){
//    open_loading();
});
// 加载的loading...
 document.onreadystatechange = subSomething;//当页面加载状态改变的时候执行这个方法. 
    function subSomething() 
    { 
        if(document.readyState === "complete") //当页面加载状态 
        {
//            close_loading();

        }
    }
 
    function open_loading()
    {
        var loading = boost.blend.loading();
        loading.show();
    }
    
    function close_loading()
    {
      $('.blend-loading').hide({
        animate: true,        // 切换时地步标示是否使用动画，默认是true
        start: 1            // 初始化指定展示tab的索引，默认是0
      });
    }

    <!-- //标签选择初始化 -->
    boost('.blend-tab').tab();

</script>
<?php require_once 'cs.php';echo '<img src="'._cnzzTrackPageView(1256622573).'" width="0" height="0"/>';?>
<include file="Index/foot_analyze"/>
</body>
</html>